using System.Collections.Generic;

namespace ClientTools.Client.Library.Provider
{
    public class ProviderInfoCollection: List<ProviderInfo>
    {
        public ProviderInfo GetProviderByName(string providerName) 
        {
            foreach (ProviderInfo  var in this)
                if (var.ProviderName == providerName)
                    return var;
            return null;
        }
    }
}
